import Clutter from 'gi://Clutter';
import Gdk from 'gi://Gdk';
import Gio from 'gi://Gio';
+import GioUnix from 'gi://GioUnix';
import GLib from 'gi://GLib';
import GObject from 'gi://GObject';
import Meta from 'gi://Meta';
}
};
+// Work around https://gitlab.gnome.org/GNOME/glib/-/issues/3744
+if (!GioUnix.DesktopAppInfo.prototype.has_key) {
+ GioUnix.DesktopAppInfo.prototype.has_key = function (key) {
+ return GioUnix.DesktopAppInfo.has_key(this, key);
+ };
+
+ GioUnix.DesktopAppInfo.prototype.get_categories = function () {
+ return GioUnix.DesktopAppInfo.get_categories(this);
+ };
+}
+
const slowdownEnv = GLib.getenv('GNOME_SHELL_SLOWDOWN_FACTOR');
if (slowdownEnv) {
let factor = parseFloat(slowdownEnv);